package com.bankscene.screenfit.vus;

import android.graphics.drawable.Drawable;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.ViewGroup;
import android.widget.ImageView;

import com.bankscene.screenfit.R;

import org.greenrobot.eventbus.EventBus;

import butterknife.BindDrawable;
import butterknife.BindView;
import butterknife.ButterKnife;

/**
 * Created by zhaojin on 6/29/16.
 */
public class RxJavaTestVu extends BaseVu {

    @BindView(R.id.imageView)
    ImageView imageView;
    @BindDrawable(R.drawable.logo_blue)
    Drawable logoBlue;

    @Override
    public void init(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable EventBus bus) {
        this.bus = bus;
        rootView = inflater.inflate(R.layout.rxjavatestvu_fragment, container, false);
        unbinder = ButterKnife.bind(this, rootView);
    }

    public ImageView getImageView() {
        return imageView;
    }

    public Drawable getLogoBlue() {
        return logoBlue;
    }
}
